//
//  TTRecyclingDetailHeaderView.h
//  TaoTuo
//
//  Created by zhaoshijie on 2020/9/4.
//  Copyright © 2020 刘广. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LLPlayerContainerView.h"
#import "TTRecyclingDetailModel.h"

typedef enum : NSUInteger {
    upcoming,   // 即将开始
    isStart,    // 已经开始
    isEnd,      // 已经结束
} GoodsStatus;

NS_ASSUME_NONNULL_BEGIN

@interface TTRecyclingDetailHeaderView : UIView

@property (nonatomic, strong) RACSubject *subject;
@property (nonatomic, assign) BOOL canRotation; ///是否能旋转

@property (nonatomic, strong) LLPlayerContainerView *playerView;

@property (nonatomic, strong) TTRecyclingDetailModel *model;

@property (nonatomic, copy) void(^goodsStatusBlock)(GoodsStatus status);
/// 分享
@property (nonatomic, copy) dispatch_block_t shareBlock;

+ (instancetype)headerViewWithDetailModel:(TTRecyclingDetailModel *)model;



@end

NS_ASSUME_NONNULL_END
